import {
	request
} from '@/utils/request'

export const getHttpApi = (data:any) => {
  return request({
    url: `/addons/yun_shop/api.php?i=${uni.getStorageSync('i')||40}`,
    method: 'GET',
    data
  })
}

export const postHttpApi = (parmas:any,data:any) => {
  return request({
    url: `/addons/yun_shop/api.php?i=${uni.getStorageSync('i')||40}` + parmas,
    method: 'POST',
    data
  })
}